package com.sw.ss.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sw.ss.mapper.UserMapper;
import com.sw.ss.model.User;

@Service
public class UserService implements IUserService{
	@Autowired
	private UserMapper userMapper;

	public User load(int id) {
	
		return  userMapper.selectByPrimaryKey(id);
	}
		
}
